package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Member;
import com.itheima.pojo.OrderMessage;
import com.itheima.pojo.OrderSetting;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

/**
 * @author qzh
 * @create 2020-01-10 2020/1/10
 */
public interface OrderSettingService {

    void add(List<OrderSetting> data);


    List<Map> getOrderSettingByMonth(String date);

    void editNumberByDate(OrderSetting date);

    PageResult pageQuery(QueryPageBean queryPageBean);

    Result addOrder(Member member, Integer[] checkitemIds) throws Exception;

    Result editOrder(Member member, Integer[] checkitemIds) throws Exception;

    List<Setmeal> findAll();

    void addOrderSetting(OrderMessage map, Integer[] setmealIds);

}
